package com.hospital.pharmacy.dao;

import com.hospital.pharmacy.entity.FinanceType;
import com.hospital.pharmacy.entity.FinanceTypeExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface FinanceTypeMapper {
    long countByExample(FinanceTypeExample example);

    int deleteByExample(FinanceTypeExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(FinanceType record);

    int insertSelective(FinanceType record);

    List<FinanceType> selectByExample(FinanceTypeExample example);

    FinanceType selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") FinanceType record, @Param("example") FinanceTypeExample example);

    int updateByExample(@Param("record") FinanceType record, @Param("example") FinanceTypeExample example);

    int updateByPrimaryKeySelective(FinanceType record);

    int updateByPrimaryKey(FinanceType record);
}